package learning.groovy.tmpl

import groovy.text.SimpleTemplateEngine

class SimpleTemplate {

	static main(args) {
		def fle = new File("./tmpl/simple-txt.tmpl")
		def binding = ["favlang": "Groovy"]
		def engine = new SimpleTemplateEngine()
		def template = engine.createTemplate(fle).make(binding)
		println template.toString()
	}
}
